package com.sakila.dao;

import java.util.Map;

import org.apache.ibatis.annotations.MapKey;

import com.sakila.pojo.Rental;

public interface RentalDao extends BaseDao<Rental> {
	@MapKey("name")
	Map<Object, Map<String, Object>> getTop5HotCategories();
	@MapKey("title")
	Map<Object, Map<String, Object>> getTop10HotFilms();
}
